home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Garbo
/
Garbo.cdr
/
mac
/
hypercrd
/
hc1_2_x
/
smrtslds.sit
/
SmartSlides 1.1 Demo
/
card_7336.txt
< prev
next >
Wrap
Text File
|
1990-06-12
|
11KB
|
568 lines
-- card: 7336 from stack: in.1 Demo
-- bmap block id: 7484
-- flags: 0000
-- background id: 2635
-- name:
-- part 1 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=0 top=19 right=50 bottom=12
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Delay
----- HyperTalk script -----
on mouseUp
if the optionKey is down then GiveHelp "Delay "
else pass mouseUp
end mouseUp
on mousedown
if the optionKey is up then pass mouseDown
end mouseDown
-- part 2 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=0 top=55 right=86 bottom=12
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Beep
----- HyperTalk script -----
on mouseUp
if the optionKey is down then GiveHelp "Beep "
else pass mouseUp
end mouseUp
on mousedown
if the optionKey is up then pass mouseDown
end mouseDown
-- part 3 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=0 top=89 right=120 bottom=12
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: LockScreen
----- HyperTalk script -----
on mouseUp
if the optionKey is down then GiveHelp "LockScreen "
else pass mouseUp
end mouseUp
on mousedown
if the optionKey is up then pass mouseDown
end mouseDown
-- part 4 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=0 top=123 right=154 bottom=12
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Opener
----- HyperTalk script -----
on mouseUp
if the optionKey is down then GiveHelp "On OpenCard "
else pass mouseUp
end mouseUp
on mousedown
if the optionKey is up then pass mouseDown
end mouseDown
-- part 5 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=16 top=12 right=45 bottom=487
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 91
-- text size: 24
-- style flags: 0
-- line height: 32
-- part name: Title
-- part 6 (field)
-- low flags: 01
-- high flags: 2002
-- rect: left=49 top=69 right=125 bottom=200
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 91
-- text size: 18
-- style flags: 0
-- line height: 24
-- part name: Rectangle
-- part 7 (field)
-- low flags: 01
-- high flags: 2002
-- rect: left=49 top=155 right=211 bottom=200
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 91
-- text size: 18
-- style flags: 0
-- line height: 24
-- part name: Rectangle
-- part 8 (field)
-- low flags: 01
-- high flags: 2002
-- rect: left=49 top=243 right=299 bottom=200
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 91
-- text size: 18
-- style flags: 0
-- line height: 24
-- part name: Rectangle
-- part 9 (field)
-- low flags: 01
-- high flags: 2002
-- rect: left=302 top=69 right=125 bottom=453
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 91
-- text size: 18
-- style flags: 0
-- line height: 24
-- part name: Rectangle
-- part 11 (field)
-- low flags: 01
-- high flags: 2002
-- rect: left=302 top=155 right=211 bottom=453
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 91
-- text size: 18
-- style flags: 0
-- line height: 24
-- part name: Rectangle
-- part 12 (field)
-- low flags: 01
-- high flags: 2002
-- rect: left=302 top=243 right=299 bottom=453
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 91
-- text size: 18
-- style flags: 0
-- line height: 24
-- part name: Rectangle
-- part 13 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=49 top=69 right=125 bottom=200
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Draw╩Straight Line╔
----- HyperTalk script -----
on mouseUp
if the optionKey is down then
put the short name of me into command
delete char 1 to 5 of command
GiveHelp command
else pass mouseUp
end mouseUp
on mousedown
if the optionKey is up then pass mouseDown
end mouseDown
-- part 15 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=49 top=155 right=211 bottom=200
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Draw╩Wavy Line╔
----- HyperTalk script -----
on mouseUp
if the optionKey is down then
put the short name of me into command
delete char 1 to 5 of command
GiveHelp command
else pass mouseUp
end mouseUp
on mousedown
if the optionKey is up then pass mouseDown
end mouseDown
-- part 17 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=49 top=243 right=299 bottom=200
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Draw╩Dotted Line╔
----- HyperTalk script -----
on mouseUp
if the optionKey is down then
put the short name of me into command
delete char 1 to 5 of command
GiveHelp command
else pass mouseUp
end mouseUp
on mousedown
if the optionKey is up then pass mouseDown
end mouseDown
-- part 18 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=302 top=243 right=299 bottom=453
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Draw╩Dotted Arrow╔
----- HyperTalk script -----
on mouseUp
if the optionKey is down then
put the short name of me into command
delete char 1 to 5 of command
GiveHelp command
else pass mouseUp
end mouseUp
on mousedown
if the optionKey is up then pass mouseDown
end mouseDown
-- part 19 (field)
-- low flags: 01
-- high flags: 2002
-- rect: left=209 top=244 right=298 bottom=292
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Rectangle
-- part 21 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=209 top=244 right=298 bottom=292
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PopItUp
----- HyperTalk script -----
on mouseUp
if the optionKey is down then
GiveHelp "PopUp "
else pass mouseUp
end mouseUp
on mousedown
if the optionKey is up then pass mouseDown
end mouseDown
-- part 23 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=302 top=69 right=125 bottom=453
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Draw╩Straight Arrow╔
----- HyperTalk script -----
on mouseUp
if the optionKey is down then
put the short name of me into command
delete char 1 to 5 of command
GiveHelp command
else pass mouseUp
end mouseUp
on mousedown
if the optionKey is up then pass mouseDown
end mouseDown
-- part 24 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=302 top=155 right=211 bottom=453
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Draw╩Wavy Arrow╔
----- HyperTalk script -----
on mouseUp
if the optionKey is down then
put the short name of me into command
delete char 1 to 5 of command
GiveHelp command
else pass mouseUp
end mouseUp
on mousedown
if the optionKey is up then pass mouseDown
end mouseDown
-- part 20 (field)
-- low flags: 81
-- high flags: 2004
-- rect: left=131 top=108 right=310 bottom=364
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PopUp 21
-- part contents for background part 283
----- text -----
7
-- part contents for background part 33
----- text -----
scroll left slowly to card
scroll right slowly to card
-- part contents for card part 5
----- text -----
Drawing Lines & Arrows
-- part contents for card part 6
----- text -----
Click to draw straight line
-- part contents for background part 100
----- text -----
-- part contents for background part 142
----- text -----
Opener
Draw Straight Line…
Draw Wavy Line…
Draw Dotted Line…
Draw Dotted Arrow…
PopUp 21
PopItUp
-- part contents for card part 9
----- text -----
Click to draw
straight arrow
-- part contents for card part 7
----- text -----
Click to draw
wavy line
-- part contents for card part 11
----- text -----
Click to draw
wavy arrow
-- part contents for card part 8
----- text -----
Click to draw
dotted line
-- part contents for card part 12
----- text -----
Click to draw
dotted arrow
-- part contents for background part 28
----- text -----
0 0 198 98 304 98,
0 1 200 118 304 118,
1 0 32 70 32 296,
1 1 302 182 196 182,
4 0 118 208 118 246,
4 1 378 243 378 205,
0 1 200 84 306 84,
1 1 376 124 376 160,
-- part contents for card part 19
----- text -----
About
This
Slide…
-- part contents for background part 125
----- text -----
20
-- part contents for card part 20
----- text -----
ΓÇó Create Title field & text
ΓÇó Create Rectangle fields & text
• Invoke "Straight Line…" in menu
ΓÇó Click at two ends of line wanted
ΓÇó Put the button this creates over
"Click to draw straight line"
ΓÇó Similarly with other five
ΓÇó Create PopUp, change font, size
ΓÇó Put PopUp's button over
field "About This Slide…"
ΓÇó Enter text in PopUp
ΓÇó Reset slide, make next slide